
WWWStat4Mac. The ideal companion to httpd4Mac,WebStar, or a UNIX or PC Webserver.
"One of the most feature packed log analysers available on the internet today"
WWWStat4Mac Version History
Version History
What happened when and why?
Only for those with a technical interest or just plain nosey-parkers :-)
- 1.4.3
New Features
- Remembers Auto-processing optionsThis version now remembers the auto-processing options between runs. So you can now drop WWWStat4Mac in your startup items folder and it will continue processing you files when it starts up.
Bugs Fixed
- Tracked down problems that could cause WWWStat4Mac to crash on macs running OpenTransport and were doing DNS name resolving. It seems that there is some incompatibility between WWWStat4Mac's way of stopping a DNS lookup (using MacTCP calls) and OT's emulation of this. I have disabled the resolve_time option until I can get OT native lookups going.
- Fixed a small bug that mean't that the nofication would beep even if we chose to have the beep turned off. Now it doesn't beep if we don't want it to.
- Fixed a bug in the about box that was due to a missing UPP for the about clicks! Clicking on the hots spots would crash the code on a PPC machine:-(.
- Fixed a bug that would cause the app to crash if there was a cache file and the domain stats were turned off!
- Fixed a 4K memory leak! Also found a two smaller 144 byte leaks which have also been plugged. Now WWWStat4Mac won't leak 5K each time it is run.
- Found that the STR#s for doing the SIVC stuff had gone AWOL. Have now fixed this so that queries now work again.Manual queries wouldn't return any information with 1.4.2
- 1.4.2
New Features
- Speed Improvements.This version contains improvements to the code which cause up to a three times improvement in performance especially when collecting domain statistics.
I have also recoded the date/time conversion algorithms, so that they don't rely on toolbox routines. My new routines are considerably faster than the toolbox routines and are also native on PowerMacs, adding a further speed boost. This should also help prevent any problems with language related problems, especially Kanji-Talk.
Bugs Fixed
- Fixed an error that caused name resolving not to work if the domain stats were not enabled.
- 1.4.1 Limited Release
New Features
- Custom file tracking Options. This version lets you keep track of how specified file types are accessed. It can, for example, tell you how many different .html files have been served and how many accesses, and bytes transfered that they account for.
Bugs Fixed
- Fixed an error in the Prefs file processing that would cause the software not to be registered if the beep on completion option was turned off!
- 1.4.0
New Features
- Processes WebStar logs. Now adds support for the the most widely used WebServer for the Macintosh.
- Added two new options for the Table outputs.
- Improved the processing speed. Now goes about 5-10 times faster than previous versions.
- Improved memory handling in low memory situations.
- Added support for the SIVC engine and removed the old SIVC code. This should make the application more stable as the old SIVC code was a little flaky :-)
- Improved the automatic processing options.
- Added Day of Year traffic options.
Bugs Fixed
- Fixed an error in the Prefs file processing that would cause lines that had spaces at the start to be skipped!
- 1.3.1
Bug Fixes
Fixed some bugs that appeared after some other bugs had been fixed by Metrowerks in one of the compiled libraries. My code inadvertantly relied on one of these bugs!
- 1.3.0
New Features
- Implemented file caching. This means that a large file will only need the new data processing each time instead of the whole thing.
- Have finally implemented the dynamic memory allocation for the number of sites and files. This means that if a user want many more sites they can just increase the allocation accordingly.
- Implemented DNS caching. Now the program creates a DNS cache containing upto the number of entries specified in the dns_cache option. For this to work DNS resolving must be selected and working. Once a name has been added to the cache it will remain there until all of the records are full. Then the earliest entries are deleted.
- Added an extra button to the registration dialog box that gives users a chance to register online. Of course they need Netscape or other browser and a correctly configured version of Internet Config.
- Cosmetic to the about box that now shows the current version of the application as extracted from the 'vers' resource.
- Added some extra features that I had forgotten to add, but was reminded to by Andy Grant. Now we can have aliases for sites and files. So we can map all *.gif files to gif_files and all generic hits from dynamic sites to the same site. In fact this alias option can have several powerful effects.
Bugs Fixed
- Fixed a problem with Extended Common Log Format files. Now if the referer and browser information are included in the file they will be ignored without reporting errors.
- Found the bug reported by Chris Chew that caused the program to crash second time around if the max number of files and sites was set to be a low value and the real number exceeded this.
- 1.2.1
Bugs Fixed.
- Fixed a bug due to an uninitialised variable that stopped the progress display from working. Oops. So much for late night software releases!
- 1.2
New Features
- Added an option to beep on completion. Also if the application is in the background it will also put up an alert.
- Added Hits/Bytes option for traffic stats. [Now can have either or both!]
- Added the number of discrete visits at the top of the file.
- Added the ability to show only the top N domains in output in the same way that files and sites are limited.
- Added a new option file_and_site so that if a file is excluded then any sites accessing it are too. This allows stats to be made for specific URLs.
- Implemented traffic stats in the text only output. In version 1.1 traffic stats would only show up in the table version. Oops!
- Added an option for filtering CGI or other '?' hits. Now these lines are just truncated at the '?'
- Added a new improved icon.
- Added the option of having prefix and suffix files for HTML output. This means it is now possible, for example, to have a custom menubar or other information at the top or bottom of the file, and have them added automatically.
- Added an event loop to the counting phase (once every two seconds). This makes it more responsive to user clicks.
- Added wild cards to the output file names. Now if you want to drop ten different logs onto WWWStat4Mac you can have it save each results as the original name + a suffix name by specifying a wild card output file name. For example input becomes input.stat what we have the option file_name *.stat
- Changed the way default file mapping works. So now / become /home.html and /foo/bar/ becomes /foo/bar/home.html. Take care not to add a '/' to the default name.
- Added an Elapsed time counter to the display window. So now you can see how long things have taken so far.
- Added stats to the bottom of the traffic tables and put all of this data in a little sub-table.
- Increased number of sites tracked to 15000!
Bugs Fixed
- Now doesn't initialise MacTCP if SIVC and DNS resolving are turned off.
- Fixed a bug that would cause program to hang if any string on a line was longer than 255 chars. This mainly showed up in logs with complicated cgi queries.
- Fixed a cosmetic bug in the error dialog.
- Fixed more errors in the HTML! Thanks to Lindsay Davies for his help here!
- Fixed custom domains so that now can also specify machines and not just domains and sub-domains.
- Fixed the missing hot-links for files in the text version of the output.
- Tracked down a bug that was causing the machine to freeze sometimes.
- Rebuilt with new libraries supplied by Metrowerks. This caused a speed-up of about 3 times!
- 1.1
This version is now shareware ($10) due to the large amount of effort that has gone into enhancing this version.
New Features
-
Added DNS Lookups for logs. So now if the DNR is off in the web server or, there were unresolved names due to a slow name server they will be sorted out by WWWStat4Mac. Of course if the names are not in the DNS then they won't be resolved.
- Rewritten the file IO to use a buffering system. So now the file is read into memory in chunks.
- Have reduced this memory requirement by over 900K! Any site names that are longer than 80 chars are truncated.
- Increased the number of sites that can be tracked to 10000 and still managed to reduce the memory allocation!
- Added code to check the file for errors. Any errors that are found are written out to a log file. The log file is created with the same creator type that the user has chosen in the prefs file. We should now be able to gracefully process any files that have all of the data on one line.
- Have added many more options for sorting data. Can now sort by size, number of hits, number of bytes, date, and number of visits.
- New output mode. Tables, with graphics! ( This of course requires a browser capable of doing tables. Eg. Netscape.)
- Added traffic statistics, so now can view traffic by hour, day of week, month and week of year!
- Added an auto-processing option. So now a file can be processed every 12 hours or whenever.
- Added a new menu option that lets you to open an editor for the preferences from inside the program.
- Added some more information to the progress dialog. Now while the program is analysing the data,info about the number or lines per second etc and estimated time of completion are shown.
Bugs Fixed
- Fixed a small bug that could cause problems if the string HTTP/1.0" was missing! This is now checked for and worked around.
- Fixed a bit of a conceptual bug in the Apple Event processing. This mean't that if the user opened WWWStat4Mac by double clicking and then dropped a file onto the application it would quit after processing. It should only quit if the file was dropped onto the app and it was this that launched it.
- Increased the stacksize of the PowerMac version to allow for more global variables.
- Fixed some problems with the SIVC dialog that could send it into an infinite loop of DNR lookups!
- Fixed the bad HTML.
- Fixed a problem with the stats for the total amount of data transferred. If a site was excluded, but the file was not it was possible for the file total to be greater than the site total.
- Fixed a problem caused by server logs that have an error. The file size is reported as ' - '. The spaces were causing the line to be reported as too long. This is now dealt with.
- Replaced the FAT CDEF with a normal one as the FAT one didn't work correctly on 68000 machines.
- 1.0.3
New Features
- Added a preference that allows the user to define the default file by using the option map_default_to_file /filename.html. This makes it possible for UNIX users to define the name that '/' gets mapped to. If an old version of the preferences file exists and it has the map_default_to_home on then this automatically calls map_default_to_file with the filename of /home.html.
- 1.0.2
New Features
-
Added capabilities for wildcards in filenames and site names. So now it will be possible to exclude all machines from a site just by typing *.ch.man.ac.uk. etc. And similarly all files starting or ending with something *.gif /wwwstat4mac* etc.
Bugs Fixed
- Fixed a bug that caused problems with domain stats if the site name listed in the log file didn't end in a full stop '.' Now we just remove a full stop if it exists and then compare the strings.
- Also have now made it possible to add new domains through the new_domain option in the settings file. A domain is the Domain Name followed by the partial string that needs matching for example new_domain Apple_Computer.apple.com.
- 1.0.1
New Features
- Have increased the number of sites tracked to 4000. Hopefully I'll get some time soon to make these limits user definable.
- Have improved the speed of file saving by using a buffering system.
Bugs Fixed
- As always, a version ending in 0 had bugs. But only a very minor one that made the number of sites 0 if you had sites access statistics turned off.
- Fixed a bug in the QUIT apple event. Now the application should quit if it was launched by dragging a file in the finder.
- 1.0.0 First non-development release.
New Features
-
Have now made the application completely 'stand alone'. So when you run it without dropping a file on it you have to choose one using the file menu.
- Added support for SIVC (Simple Internet version control). This make the application slightly larger but means I can keep track of who is using it and lets users know when updates are available.
- Have made the about dialog box 'active' so that clicking on parts of it open up URL's for WWWStat4mac and Redpoint software. This requires Internet Config version 1.1 or later but is really cool :-).
- Have added an abort while processing .This lets us abort during processing and also during saving. The progress bar now appears in the reading lines, analysing data and saving file parts.
- Moved all of the strings to STR# resources. This will allow localisation to other languages and for even more customisation of the output by users.
Bugs Fixed
- Found the bug that Thom Dunaway had discovered with his clocked PowerMac. It occurred today on my PB. It was going into an infinite loop at the end of the preferences file! This is now fixed!
- 1.0b4 (Limited release to those people who'd sent me emails...)
- Added an option to autosave the output file. This means that the program doesn't have to put up the save file dialog. This will allow files to be saved automatically and will make it easier to implement regular automatic running of the application.
- Added a menubar to the program and made it so that it will now run in the background.
- Added routines to convert the names of files to lowercase. This means that Setup.html is the same as setup.html.
- Added mapping of / to /home.html. This is because these files are essentially the same.
- Added an option to exclude files accessed by excluded sites.
- Any file that is excluded, either separately or because it was accessed from an excluded site, is not included in the grand total or in the number of accesses.
- Fixed a bug in the code that missed the end dates because it didn't read the last line (thanks Frank)!
- Added domain statistics. Looks for all known domains as currently documented on the WWW. See preferences file for details of the URL.
- I have done some timings on the latest codes for 68K and PPC and discovered that the 68K code is not that much slower than the PPC code (only about 10%). In fact the 68K code is actually FASTER (+10%) if 'Speed Emulator'
(part of Speed Doubler from Connectix) is installed!!
- 1.0b3.
- This version adds support for various output options. These are
controlled by the file WWWStat4Mac Preferences. This file should be placed inside the preferences folder in your system folder. If you don't do this WWWStat4Mac will create a file containing the default preferences. If you need to change the preferences then just edit them with your favourite text editor
- 1.0b2 and 1.0b1.
This file last modified on 10-Nov-96 at 3:21 pm by Peter Hardman.